<?xml version="1.0" encoding="ISO-8859-1" ?>

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
	xmlns:c="http://java.sun.com/jstl/core_rt"
	xmlns:form="http://www.springframework.org/tags/form"
	xmlns:spring="http://www.springframework.org/tags">

	<jsp:directive.page contentType="text/html; charset=ISO-8859-1"
		pageEncoding="ISO-8859-1" session="false" />
	<jsp:output doctype-root-element="html"
		doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
		omit-xml-declaration="true" />


	<form:form commandName="book">
		<table>
			<caption>Book</caption>
			<thead>
				<tr>
					<th>Field</th>
					<th>Value</th>
					<th>Errors</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<th><spring:message code="label.title" /></th>
					<td><form:input path="title" /></td>
					<td><form:errors path="title" /></td>
				</tr>
				<tr>
					<th><spring:message code="label.author" /></th>
					<td><form:input path="author" /></td>
					<td><form:errors path="author" /></td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td colspan="3"><input type="submit" value="Save" /> <a
						class="button" href="books">New</a></td>
				</tr>
			</tfoot>
		</table>
	</form:form>

</jsp:root>